j3deditor.bin.hierarchy.util
Interface VirtualCamera

All Known Implementing Classes:
J3DeCamera, Scene2D

public interface VirtualCamera

Identifies the instance of implementing class as a virtual camera.

Author:
Risto Seene

Method Summary
 void moveFocus(float move1, float move2)
          Moves the virtual focus of the camera.
 void rotateCamera(float angle, float angleZ)
          Rotates the camera.
 void zoomCamera(float zoom)
          Zooms the camera in/out.
 

Method Detail

moveFocus

void moveFocus(float move1,
               float move2)
Moves the virtual focus of the camera.

Parameters:
move1 - movement of the focus along the X-axis of the camera. Difference, not absolute position
move2 - movement of the focus along the Y-axis of the camera. Difference, not absolute position

zoomCamera

void zoomCamera(float zoom)
Zooms the camera in/out.

Parameters:
zoom - the amount to zoom

rotateCamera

void rotateCamera(float angle,
                  float angleZ)
Rotates the camera.

Parameters:
angle - rotation around the Y-axis of the scene. Difference, not absolute angle
angleZ - the change of the angle of the X-axis of camera. Difference, not absolute angle